package com.ssm.gbq.service;

import com.ssm.gbq.model.Doctor;

import java.util.List;

/**
 * @Author ssm
 * @Date 2020/5/18 17:56
 */
public interface DoctorService {

    /**
     * 获取医生列表
     * @param doctor
     * @return
     */
    List<Doctor> selectDoctorList(Doctor doctor);

    /**
     * 添加医生信息
     * @param doctor
     * @return
     */
    int insertDoctor(Doctor doctor);

    /**
     * 修改医生信息
     * @param doctor
     * @return
     */
    int updateDoctor(Doctor doctor);

    /**
     * 删除医生信息
     * @param id
     * @return
     */
    int delDoctorById(Integer id);

    /**
     * 根据id name phone搜索医生信息
     * @param doctors
     * @return
     */
    List<Doctor> serchDoctor(Doctor doctors);
}
